Skip to main content

Get POP3 Mail Messages

AutomatR.Mail.GetPOP3MailMessages

The "Get POP3 Mail Messages" activity in AutomatR is designed to retrieve POP3 email messages from the specified server. This activity simplifies the process of fetching email messages from a POP3 server, allowing seamless integration into your automation workflows.

Properties

NameDescription
Input
Connection TypeSpecify the desired connection type by selecting from a dropdown menu.
Delete MailSpecifies whether the read messages should be marked for deletion.
Text OutputIf checked, retrieved messages will be treated as text output.
TopSpecify the number of email messages to be retrieved from the email server.
Credential
EmailSpecify the email account from which you want to retrieve the message.
PasswordSpecify the password of the email account used to retrieve the message.
Configuration
HostSpecify the host name (e.g., "imap.gmail.com") to establish a connection with the POP3 server.
PortSpecify the port used to connect to the email server and retrieve the email message.
Misc
Display NameThe display name of the activity. A display name is automatically generated when you indicate a target.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds) to start the activity.
Output
MessagesOutputs the retrieved messages as a collection of MailMessage objects.

How to Use

  1. Drag and drop the "Get POP3 Mail Messages" activity onto the workflow.
  2. Configure the properties by specifying the email account credentials, server details, and other optional settings.
  3. Optionally, customize the delay, text output, and choose whether to delete read messages.
  4. Execute the workflow to retrieve email messages from the specified POP3 server.

Example

Consider an example where the "Get POP3 Mail Messages" activity is used to fetch the latest 5 email messages from a Gmail account:

Get POP3 Mail Messages:
Email: "your_email@gmail.com"
Password: "your_password"
Host: "pop.gmail.com"
Port: 995
Connection Type: SSL/TLS
Top: 5
Delete Mail: false
Text Output: false
Delay: 0
Messages: mailMessages

In this example, the activity connects to the Gmail POP3 server, retrieves the latest 5 email messages, and stores them in the mailMessages variable for further processing in the workflow.